# a = 1
# 基本类型
a = b = 1
b = 2
# print(a, b)

# 容器类型
# 引用类型数据
l1 = l2 = [3, 4]
l1[0] = 5
l2.append(7)
# print(l1)
# print(l2)

# 多元赋值
# n1 = 1
# n2 = 2
n1, n2 = 1, 2
# print(n1, n2)
s1, s2 = 'hello', 'world'
# print(s1, s2)
# 解构
s3, s4 = 'wb'
# print(s3, s4)
m1, m2 = [5, 10]
# print(m1, m2)
c1, c2 = 2, 3
# 交换两个变量的值
# c3 = c1
# c1 = c2
# c2 = c3
# 使用解构赋值
c1, c2 = c2, c1
print(c1, c2)


